<%@ include file="/WEB-INF/jsp/include/head.jsp" %><%@ page language="java" pageEncoding="UTF-8"%><%@ taglib uri="http://www.geeksaga.com/pagination-taglib" prefix="bbs" %>
<%@ include file="/WEB-INF/jsp/include/skin_head.jsp" %>
<html>
<head>
	<%@ include file="/WEB-INF/jsp/include/manager_title.jsp" %>
	<%@ include file="/WEB-INF/jsp/include/manager_common_css.jsp" %>
    <%@ include file="/WEB-INF/jsp/include/common_script.jsp" %>
</head>
<body>
<%@ include file="/WEB-INF/jsp/include/manager_top.jsp" %>
<%@ include file="/WEB-INF/jsp/include/adminBbsMgntSubMenu.jsp" %>

    <div id="pw_bbs_list">
        <div id="pw_bbs_list_header" style="height: 30"></div>
        <div id="pw_bbs_list_body">
	        <table border="0" cellspacing="0" cellpadding="0" width="100%" >
	        	<tr>
	        		<td height="30px"></td>
	        	</tr>
		        <tr>
			        <td valign="top">
			            <table border="1" cellspacing="0" cellpadding="0" width="700px" align="center">
			                <thead id="pw_bbs_title">
			                    <tr>
			                        <th style="width:60px"><spring:message code="bbs.bbsId" /></th>
			                        <th style="width:60px"><spring:message code="bbs.bbsName" /></th>
			                        <th style="width:60px"><spring:message code="bbs.bbsUseYn" /></th>
			                        <th style="width:60px"><spring:message code="bbs.today" />/<spring:message code="bbs.totalCnt" /></th>
			                        <th style="width:60px"><spring:message code="bbs.registTimestamp" /></th>
			                    </tr>
			                </thead>
			                <tbody>
			                    <c:if test="${total == 0}">
			                    <tr>
			                        <td colspan="5" align="center"><spring:message code="bbs.msg.empty"/></td>
			                    </tr>
			                    </c:if>
			                    <c:forEach items="${list}" var="bbs" varStatus="status">
			                    	<tr onmouseover="this.style.backgroundColor='#f1f6fb'" onmouseout="this.style.backgroundColor='#fefefe'" style="text-align: center">
			                    		<td style="width:60px">${bbs.bbsId}</td>
			                    		<td style="width:60px">${bbs.bbsName}</td>
			                    		<c:choose>
			                    			<c:when test="${bbs.bbsUseYn == 1}">
				                    			<td style="width:60px">Y</td>
			                    			</c:when>
			                    			<c:otherwise>
				                    			<td style="width:60px">N</td>
			                    			</c:otherwise>
			                    		</c:choose>
			                    		<td style="width:60px">${bbs.todayCnt}/${bbs.totalCnt}</td>
			                    		<td style="width:60px">${bbs.registTimestamp}</td>
			                    	</tr>
			                    </c:forEach>
			                </tbody>
			            </table>
			            </td>
		            </tr>
	            </table>
        </div>
         <!--<div id="pw_list_footer">
            <table border="0" width="100%" cellspacing="0" cellpadding="0">
            <colgroup>
                <col class="page" />
            </colgroup>
            <tr>
                <td align="center">
                    <bbs:page
		                total="${total}"
		                pageSize="10"
		                link="list.do?categorySid=${param.categorySid}&amp;bbsId="
		                beginLabel="Home "
		                endLabel=" End"
		                prevLabel="&lt; "
		                nextLabel=" >"
		                pageGroupSize="10" />
                </td>
            </tr>
            </table>
        </div>
        -->
    </div>
	<%@ include file="/WEB-INF/jsp/include/footer.jsp" %>
</body>
</html>